import 'package:flutter/material.dart';
import '../../../widgets/common_swiper.dart';
import './index_navigator.dart';

class TabIndex extends StatefulWidget {
  const TabIndex({super.key});

  @override
  State<TabIndex> createState() => _TabIndexState();
}

class _TabIndexState extends State<TabIndex> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('首页'), centerTitle: true),
      body: ListView(children: [CommonSwiper(), IndexNavigator(), Center(child: Text('内容'))]),
    );
  }
}
